<link href="{$siteinfo.tempdir}images/index.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
BODY {
	SCROLLBAR-FACE-COLOR: #dce0e2; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; SCROLLBAR-SHADOW-COLOR: #687888; COLOR: #000000; SCROLLBAR-3DLIGHT-COLOR: #687888; SCROLLBAR-ARROW-COLOR: #6e7e88; SCROLLBAR-TRACK-COLOR: #bcbfc0; SCROLLBAR-DARKSHADOW-COLOR: #dce0e2; margin:0; padding:0; background:#fff;background:url({$siteinfo.tempdir}images/index_bg.gif);
}
-->
</style>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="250" align="center"><br />
      <!--{if $msg_type==0}-->
        恭喜:
        <!--{elseif $msg_type eq 1}-->  
        错误:
         <!-- {else}-->
        警告:
        <!-- {/if} -->  
    {$msg_detail}<br>
    
    页面将在<span id='spanSeconds'>3</span>秒后返回上一页！<br>
 <!--  {foreach from=$links item=link}-->
    <a href="{$link.href}" >{$link.text}</a>
  <!--  {/foreach}-->
            
            
<br />
      <br />
  <input type="hidden" value="{if $auto_redirect}{$lang.auto_redirection}{/if}" id="redirectionMsg" name="redirectionMsg" />
  <img src="{$siteinfo.tempdir}images/loding.gif" width="190" height="14" /></td>
  </tr>
</table>
<!--{if $auto_redirect}-->
<script language="JavaScript">
<!--
var seconds = 3;
var defaultUrl = "{$default_url}";

{literal}
onload = function()
{
  if (defaultUrl == 'javascript:history.go(-1)' && window.history.length == 0)
  {
    document.getElementById('redirectionMsg').innerHTML = '';
    return;
  }

  window.setInterval(redirection, 1000);
}
function redirection()
{
  if (seconds <= 0)
  {
    window.history.go(-1);
    return;
  }

  seconds --;
  document.getElementById('spanSeconds').innerHTML = seconds;

  if (seconds == 0)
  {
    window.clearInterval();
    location.href = defaultUrl;
  }
}
//-->
</script>
{/literal}
<!--{/if}-->
